package com.trgis.geotools.model;

import com.trgis.geotools.GeoJSON;
import com.vividsolutions.jts.geom.MultiPolygon;

/**
 * 2018/10/30
 *
 * @author wangfy
 */
@GeoJSON(name = "bou")
public class GovBou {
    @GeoJSON(isID = true)
    private String id;

    @GeoJSON(field = "name")
    private String name;

    @GeoJSON(isGeometry = true, field = "the_geom")
    private MultiPolygon bou;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public MultiPolygon getBou() {
        return bou;
    }

    public void setBou(MultiPolygon bou) {
        this.bou = bou;
    }
}
